﻿using CacheManager.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CacheManager.Redis;
using Autofac;
using Shake.Framework.Services;

namespace Shake.Web
{
    public class CacheConfig
    {
        public static void Register(ContainerBuilder builder)
        {
            builder.RegisterGeneric(typeof(ShakeCacheManager<>)).As(typeof(IShakeCacheManager<>)).SingleInstance();
        }
    }
}